package com.ruoyi.restaurant.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 菜系管理对象 tb_food_type
 * 
 * @author Wu
 * @date 2023-11-10
 */
public class TbFoodType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 菜系型名称 */
    @Excel(name = "菜系型名称")
    private String typeName;

    /** 菜系类型创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "菜系类型创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 菜系类型更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "菜系类型更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 0 未删 1已删 */
    @Excel(name = "0 未删 1已删")
    private Long disabled;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setDisabled(Long disabled) 
    {
        this.disabled = disabled;
    }

    public Long getDisabled() 
    {
        return disabled;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeName", getTypeName())
            .append("createDate", getCreateDate())
            .append("updateDate", getUpdateDate())
            .append("disabled", getDisabled())
            .toString();
    }
}
